* Dialogs *
***********/
-messagedialog .dialog-action-area button {
- padding: 8px;
-}
-
messagedialog { // Message Dialog styling
- @if $variant==light {
- // the bright variant as a slightly darker bg which in this case clashes with the window decoration, overriding
- &.background { background-color: $bg_color; }
- }
-
.titlebar {
+ min-height: 20px;
+ background-image: none;
+ background-color: $bg_color;
border-style: none;
- box-shadow: inset 0 1px $borders_edge;
+ border-top-left-radius: 7px;
+ border-top-right-radius: 7px;
+
+ .title { font-size: 0; } // squash the label
}
&.csd { // rounded bottom border styling for csd version
}
.dialog-action-area button {
- padding: 12px;
+ padding: 10px 14px; // labels are not vertically centered on message dialog, this is a workaround
border-radius: 0;
@include button(normal, $edge:none);
@extend %middle_button;
}
}
-GtkFileChooserDialog {
+filechooser {
.dialog-action-box {
border-top: 1px solid $borders_color;
/***********
* Dialogs *
***********/
-messagedialog .dialog-action-area button,
-messagedialog .dialog-action-area .titlebar button.titlebutton,
-.titlebar messagedialog .dialog-action-area button.titlebutton {
- padding: 8px; }
-
messagedialog .titlebar {
+ min-height: 20px;
+ background-image: none;
+ background-color: #393f3f;
border-style: none;
- box-shadow: inset 0 1px rgba(238, 238, 236, 0.07); }
+ border-top-left-radius: 7px;
+ border-top-right-radius: 7px; }
+ messagedialog .titlebar .title {
+ font-size: 0; }
messagedialog.csd.background {
border-bottom-left-radius: 9px;
border-bottom-right-radius: 9px; }
messagedialog.csd .dialog-action-area button {
- padding: 12px;
+ padding: 10px 14px;
border-radius: 0;
color: #eeeeec;
outline-color: rgba(238, 238, 236, 0.3);
border-bottom-left-radius: 7px;
-gtk-outline-bottom-left-radius: 5px; }
-GtkFileChooserDialog .dialog-action-box {
+filechooser .dialog-action-box {
border-top: 1px solid #1c1f1f; }
- GtkFileChooserDialog .dialog-action-box:backdrop {
+ filechooser .dialog-action-box:backdrop {
border-top-color: #1f2222; }
/***********
/***********
* Dialogs *
***********/
-messagedialog .dialog-action-area button,
-messagedialog .dialog-action-area .titlebar button.titlebutton,
-.titlebar messagedialog .dialog-action-area button.titlebutton {
- padding: 8px; }
-
-messagedialog.background {
- background-color: #e8e8e7; }
messagedialog .titlebar {
+ min-height: 20px;
+ background-image: none;
+ background-color: #e8e8e7;
border-style: none;
- box-shadow: inset 0 1px rgba(255, 255, 255, 0.8); }
+ border-top-left-radius: 7px;
+ border-top-right-radius: 7px; }
+ messagedialog .titlebar .title {
+ font-size: 0; }
messagedialog.csd.background {
border-bottom-left-radius: 9px;
border-bottom-right-radius: 9px; }
messagedialog.csd .dialog-action-area button {
- padding: 12px;
+ padding: 10px 14px;
border-radius: 0;
color: #2e3436;
outline-color: rgba(46, 52, 54, 0.3);
border-bottom-left-radius: 7px;
-gtk-outline-bottom-left-radius: 5px; }
-GtkFileChooserDialog .dialog-action-box {
+filechooser .dialog-action-box {
border-top: 1px solid #9d9d99; }
- GtkFileChooserDialog .dialog-action-box:backdrop {
+ filechooser .dialog-action-box:backdrop {
border-top-color: #a5a5a1; }
/***********